/**
 * 函数式组件-弹窗
 * @params {}
 * @return {HTML}
 */
import { createApp } from 'vue'
import EditDialog from './EditDialog.vue'
export const createDialog = (options) => {
    console.log(options);
    const div = document.createElement('div')
    document.body.appendChild(div)
    const dialog =  createApp(EditDialog,{...options})
    return dialog.mount(div)
}

